package cn.springcloud.provider.service;

import cn.springcloud.api.model.User;

import java.util.List;
import java.util.Map;

/**
 * @Author gc
 * @Date 做微服务接口
 * @Description
 */
public interface UserService{

    List<User> findAll();

    User findById(String id);

    List<Map<String, Object>> findAllUser();

    User findByName(String userName);
}
